package jp.co.ricoh.melody.models;

import java.util.List;

import jp.co.ricoh.melody.databases.DBManager;
import jp.co.ricoh.melody.models.entities.AlarmData;
/**
 * Copyright (C) 2016 RICOH Co.,LTD.
 * All rights reserved.
 * A model interface to interact with melody data in database.
 */
public interface IAlarmModel {

    AlarmData getAlarmById(int id);

    void enableAlarm(boolean enabled, AlarmData alarmData, DBManager.OnSaveDataResultListener onSaveDataResultListener);

    void deleteAlarm(AlarmData alarmData, DBManager.OnSaveDataResultListener onSaveDataResultListener);

    List<AlarmData> getAlarmList();

    boolean isFirstAddAlarm();

    void setFirstAddAlarm();
}
